﻿package com.tudou.home.newskin.interfaces
{

    public class VideoSizeType extends Object
    {
        public static const MIDDLE:int = 1;
        public static const SMALL:int = 0;
        public static const NORMAL:int = 2;
        public static const FULL:int = 3;

        public function VideoSizeType()
        {
            return;
        }// end function

        public static function getSizeByType(param1:int) : Number
        {
            var _loc_2:Number = 1;
            switch(param1)
            {
                case VideoSizeType.NORMAL:
                {
                    _loc_2 = 1;
                    break;
                }
                case VideoSizeType.MIDDLE:
                {
                    _loc_2 = 0.75;
                    break;
                }
                case VideoSizeType.SMALL:
                {
                    _loc_2 = 0.5;
                    break;
                }
                default:
                {
                    _loc_2 = 1;
                    break;
                }
            }
            return _loc_2;
        }// end function

    }
}
